package com.itheima.consumer.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.MessageSource;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @className:MessageConfig
 * @date: 2025/7/7 下午7:49
 * @description:
 */
@Configuration
public class MessageConfig {
    @Bean
    public Queue objectQueue(){
        return new Queue("object.queue");
    }
}
